package Exercise;

import javax.swing.*;

/**
 * ClassName:Swing_helloworld
 * Package:Exercise
 * Description
 *
 * @Author:@wenxueshi
 * @Create:2023/3/15 - 22:29
 * @Version:v1.0
 */
public class Swing_helloworld {
    private static void createAndShowGUI(){
        JFrame.setDefaultLookAndFeelDecorated(true);
        JFrame frame = new JFrame("helloWorldSwing");

        JLabel jLabel = new JLabel("helloWorld");

        frame.getContentPane().add(jLabel);

        frame.pack();

        frame.setVisible(true);
    }

    public static void main(String[] args) {
        createAndShowGUI();
    }
}
